Skip to content

Conversation

@alfongrace
Copy link

Manage Data Flows Project 1.3

Description:

This PR implements data flow on mobile app for assessment. The following features have been completed.

Map Screen:

  • Fetches events from the API when online; falls back to cached events via AsyncStorage when offline.
  • Displays only future events as map markers.
  • Bottom label shows the actual number of future events.
  • Map automatically zooms/fits to include all future events markers.

Event Creation Workflow:

  • Accessible via the + button on the map screen.
  • Includes mandatory fields: title, description, date/time, location, and photo.
  • Form validation prevents saving until all fields are complete and valid.
  • Camera & media library permissions handled.
  • Image uploads to online storage (imageUrl saved in event data) and displays thumbnail, file name, and size.
  • Saves the new event to the backend and updates the map to include it.

Other notes:

  • All async flows, caching, and network handling follow best practices.
  • Tested offline/online scenarios, form validation, and image upload.
  • App styling follows the Figma prototype design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant